﻿<Page x:Class="SsTool.Install.ImportUserFromExcel"
      xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
      xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
      xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
      xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
      mc:Ignorable="d" 
      d:DesignHeight="300" d:DesignWidth="300"
	Title="ImportUserFromExcel">
    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition Height="auto"/>
            <RowDefinition Height="*"/>
            <RowDefinition Height="auto"/>
        </Grid.RowDefinitions>
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="*"/>
            <ColumnDefinition Width="*"/>
        </Grid.ColumnDefinitions>
        <StackPanel Grid.Row="0" Grid.Column="0" Grid.ColumnSpan="2">
            <Button Name="_ctlBtnBroswer" Content="选择文件" Click="_ctlBtnBroswer_Click" Margin="5" />
            <ComboBox Name="_ctlListSheets" SelectionChanged="_ctlListSheets_SelectionChanged" Margin="5"/>
        </StackPanel>
        <TextBox Name="_ctlOutput" Grid.Row="1" Grid.Column="1" AcceptsReturn="True" IsReadOnly="True" VerticalScrollBarVisibility="Auto">

        </TextBox>
        <StackPanel Grid.Row="1" Grid.Column="0" Margin="5" >
            <Label Content="账号"/>
            <ComboBox Name="_ctlListAccount"/>
            <Label Content="姓名"/>
            <ComboBox Name="_ctlListName"/>
            <Label Content="联系电话"/>
            <ComboBox Name="_ctlListPhone"/>
            <Label Content="邮箱"/>
            <ComboBox Name="_ctlListEmail"/>

        </StackPanel>
        <StackPanel Grid.Row="2" Grid.Column="0" Grid.ColumnSpan="2">
            <Button Name="_ctlBtnImportToXml" Content="导出到Xml文件" Click="_ctlBtnImportToXml_Click" Margin="5" />
            <Button Name="_ctlBtnImport" Content="导入" Click="_ctlBtnImport_Click" Margin="5" />
        </StackPanel>
    </Grid>
</Page>
